<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />

<div class="table-scroll">
			<table id="_list_table" class="table-form table-bordered table-hover table-ellipsis table-fixed">
				<thead>
					<tr>
						<th width="5%"><input type="checkbox" name="checkboxall" id="fullCheck" onclick="listTableCheckAll(this)" /></th>
						<th width="10%">序号</th>
						<th>机构名</th>
						<th>编码</th>
						<th>类型</th>
						<!-- <th>状态</th> -->
					</tr>
				</thead>
				<tbody>
				 	<c:if test="${ empty pageBean.data}">
                   		<tr><td colspan="5">无符合条件记录</td></tr>
                    </c:if>
					<c:if test="${not empty pageBean.data}">
					<c:forEach items="${pageBean.data}" var="unit" varStatus="seq">
						<tr>
							<td><input type="checkbox" name="checkboxOne" value="${unit.unitId }" /></td>
							<td>${seq.count+pageBean.first}</td>
							<td style="text-align:left" title="${unit.unitName}" >${unit.unitName}</td>
							<td style="text-align:left" title="${unit.unitNO}" >${unit.unitNO}</td>
							<td><c:out value="${'0' eq unit.unitType?'单位':'部门'}" /></td>
							<%-- <td><c:out value="${'1' eq unit.status?'启用':'停用'}" /></td> --%>
						</tr>
					</c:forEach>
					</c:if>
				</tbody>
			</table>
		</div>

		<div class="pages">
			<jsp:include page="../common/pager.jsp"></jsp:include>
		</div>
	<script type="text/javascript">
	currentPageNo = parseInt('${pageBean.currentPage}');
	currentPageSize = parseInt('${pageBean.pageSize }');
	totalPageCount = parseInt('${pageBean.totalPage}');
	</script>